<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Page
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: _popularLocations.tpl 2010-08-31 17:53 idris $
 * @author     Idris
 */
?>

<?php if (count($this->popularLocations) != 0): ?>
<div class="page_popular_locations global_form_box">
	<h3><?php echo $this->translate("Popular Locations"); ?></h3>
	<div class="items">
		<?php foreach($this->popularLocations as $location): ?>
			<div class="item">
				<a href="javascript:page_manager.setLocation('<?php echo $location['city']; ?>');"><?php echo $location['city']; ?></a> (<?php echo $location['count']; ?>)
			</div>
		<?php endforeach; ?>
	</div>
</div>
<br />
<?php endif; ?>